// TODO: 其他几种路由模式区别是什么
// TODO: 其他几种type分别是什么
import { createRouter,createWebHistory, RouteRecordRaw } from 'vue-router'
import Container from '../components/container/src/index.vue'
import Home from '../views/Home.vue'

const routerConfigList: RouteRecordRaw[] = [
  {
    path:'/',
    component:Container,
    children:[
      {
        path:'/',
        component: Home
      }
    ]
  }
]

const router = createRouter({
  routes: routerConfigList,
  history: createWebHistory()
})

export default router
